<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Netfluxd - <%= @title %></title>
<link rel='shortcut icon' href='/favicon.ico' />
<%= stylesheet_link_tag 'application' %>
</head>
<body>

<div id="frameWrapper">
	<div id="frame">
		<div id="content">
			<div id='flashWrapper'><span id='flash' style='display: none' onclick='Flash.flash()'></span>&nbsp;</div>

			<ul class='tabs'>
				<li>
					<%= link_to_unless_current('<span>Videos</span>', {:controller => 'videos'}) {|n| '<span class="current">Videos</span>'} %>
				</li>
				<li>
					<%= link_to_unless_current('<span>Configuration</span>', {:controller => 'config'}) {|n| '<span class="current">Configuration</span>'} %>
				</li>
			</ul>

			<%= link_to('View Instant Queue &raquo;', NetflixClient::QUEUE_PAGE, {:id => 'viewQueue', :target => 'viewQueue'}) %>

			<div style='clear: both'></div>

			<%= yield %>
		</div>
	</div>
</div>

</body>
</html>
